<script setup lang="ts">
import { get, loadFile, message, post, download, formatEnum } from '@/utils'
import WithdrawalModal from './components/WithdrawalModal.vue'
import useModal from '@/hooks/useModal'
import UserWithdrawalModal from './components/UserWithdrawal.vue'
import SellerWithdrawal from './components/SellerWithdrawal.vue'
const { store } = useModal()
</script>

<template>
  <div class="page">
    <a-tabs default-active-key="1">
      <a-tab-pane title="用户提现" key="1">
        <UserWithdrawalModal />
      </a-tab-pane>
      <a-tab-pane title="商户提现" key="2">
        <SellerWithdrawal />
      </a-tab-pane>
    </a-tabs>

    <WithdrawalModal v-if="store.show" v-model:show="store.show" :id="store.id" />
  </div>
</template>
<style lang="less" scoped>
.page {
  background: white;
  margin: 0 20px;
}
</style>
